﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ServiceModel.Activation;
using DataLayer;

namespace WebServiceBingMaps
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IDataService" in both code and config file together.
    [ServiceContract(Namespace = "WebServiceBingMaps")]
    public interface IDataService
    {
        [OperationContract]
        List<MapPointDTO> GetSchools(decimal topleftlatitude, decimal topleftlongitude, decimal bottomrightlatitude, decimal bottomrightlongitude, int schooltypeid = 0);
        
        [OperationContract]
        SchoolDTO GetSchool(int schoolid);
    }
}
